<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link href="../css/style.css" rel="stylesheet" type="text/css" />
		<script language="JavaScript" src="../js/jquery.js"></script>
		<script type="text/javascript">
	$(function() {
		//顶部导航切换
		$(".nav li a").click(function() {
			$(".nav li a.selected").removeClass("selected")
			$(this).addClass("selected");
		})
	})
</script>

		<script language="javascript">
	function realSysTime(clock) {
		var now = new Date(); //创建Date对象 
		var year = now.getFullYear(); //获取年份 
		var month = now.getMonth(); //获取月份 
		var date = now.getDate(); //获取日期 
		var day = now.getDay(); //获取星期 
		var hour = now.getHours(); //获取小时 
		var minu = now.getMinutes(); //获取分钟 
		var sec = now.getSeconds(); //获取秒钟 
		month = month + 1;
		var arr_week = new Array("星期日", "星期一", "星期二", "星期三", "星期四", "星期五",
				"星期六");
		var week = arr_week[day]; //获取中文的星期 
		var time = year + "年" + month + "月" + date + "日 " + week + " " + hour
				+ ":" + minu + ":" + sec; //组合系统时间 
		clock.innerHTML = time; //显示系统时间 
	}
	window.onload = function() {
		window.setInterval("realSysTime(clock)", 1000); //实时获取并显示系统时间,setInterval函数实现反复实时刷新 
	}
</script>
	</head>

	<body style="background: url(../images/topbg.gif) repeat-x;">

		<div class="topleft">
			<a href="" target="_parent"><img src="../images/logo.png"
					title="系统首页" />
			</a>
		</div>

		<!--    <ul class="nav">-->
		<!--    <li><a href="" target="rightFrame" class="selected"><img src="../images/icon01.png" title="工作台" /><h2>工作台</h2></a></li>-->
		<!--    <li><a href="" target="rightFrame"><img src="../images/icon02.png" title="模型管理" /><h2>模型管理</h2></a></li>-->
		<!--    <li><a href=""  target="rightFrame"><img src="../images/icon03.png" title="模块设计" /><h2>模块设计</h2></a></li>-->
		<!--    <li><a href=""  target="rightFrame"><img src="../images/icon04.png" title="常用工具" /><h2>常用工具</h2></a></li>-->
		<!--    <li><a href="" target="rightFrame"><img src="../images/icon05.png" title="文件管理" /><h2>文件管理</h2></a></li>-->
		<!--    <li><a href=""  target="rightFrame"><img src="../images/icon06.png" title="系统设置" /><h2>系统设置</h2></a></li>-->
		<!--    </ul>-->

		<div class="topright">
			<ul class="nav">
				<i id="clock"></i>
			</ul>
			<ul>
				<li>
					<span><img src="../images/help.png" title="帮助"
							class="helpimg" />
					</span><a href="#">帮助</a>
				</li>
				<li>
					<a href="#">关于</a>
				</li>
				<li>
					<a href="" target="_parent">退出</a>
				</li>
			</ul>

			<div class="user">
				<%
					HttpSession s = request.getSession();
				%>
				<span><%=s.getAttribute("username")%></span>
				<i>消息</i>
				<b>5</b>
			</div>

		</div>

	</body>
</html>